package com.legend.security;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * User: ChuanQi
 * Date: 13-6-13
 * Time: 下午9:39
 * To change this template use File | Settings | File Templates.
 */
public class Permission {
    /*
* 模块名称
* */
    private String moduleName;
    /*
    * 模块值
    * */
    private String moduleCode;
    private List<PermissionItem> items;
    @JSONField(name="text")
    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }
    @JSONField(name="id")
    public String getModuleCode() {
        return moduleCode;
    }

    public void setModuleCode(String moduleCode) {
        this.moduleCode = moduleCode;
    }
    @JSONField(name="children")
    public List<PermissionItem> getItems() {
        return items;
    }

    public void setItems(List<PermissionItem> items) {
        this.items = items;
    }
}
